/**
 * 进行全局组件的挂载
 */

import PageTools from './PageTools'
import UploadExcel from './UploadExcel'
import UploadImg from './UploadImg'
import ImageHolder from './ImageHolder/index.vue'
import lang from './lang'
import ScreenFull from './ScreenFull'

export default {
  install(Vue) {
    // 注册工具栏组件
    Vue.component('PageTools', PageTools)

    // 注册导入excel组件
    Vue.component('UploadExcel', UploadExcel)

    // 挂载为图片上传组件
    Vue.component('UploadImg', UploadImg)

    // 导入头像组件
    Vue.component('ImageHolder', ImageHolder)

    // 将多语言组件挂载为全局组件
    Vue.component('lang', lang)

    // 将全屏组件挂载为全局组件
    Vue.component('ScreenFull', ScreenFull)
  }
}

